File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -56719,6 +56719,11 @@ interface <dfn interface>HTMLSelectedContentElement</dfn> : <span>HTMLElement</s
56719
56719
can be used to declaratively show the selected <code>option</code> element's contents within the
56720
56720
<code>select</code> element's first child <code>button</code> element.</p>
56721
56721
56722
+ <p class="note">The <code>option</code> element's <code data-x="attr-option-label">label</code>
56723
+ attribute can be used to render a visible label for the option, but the
56724
+ <code>selectedcontent</code> element will not reflect the content of the <code
56725
+ data-x="attr-option-label">label</code> attribute.</p>
56726
+
56722
56727
<p w-dev>Every time the selected <code>option</code> of a <code>select</code> switches from one
56723
56728
option to another, the <code>selectedcontent</code> element removes all of its children and
56724
56729
replaces them with a new copy of the DOM structure of the <code>select</code>'s selected
You can’t perform that action at this time.
0 commit comments